Optimal. Leaf size=449 \[ \frac {\left (21 c^4 d^8-6 a^2 c^2 d^4 e^4-8 a^3 c d^2 e^6-7 a^4 e^8\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^4 d^4 e^5}+\frac {1}{20} \left (\frac {a}{c d}-\frac {3 d}{e^2}\right ) x^2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}+\frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{6 e}-\frac {\left (105 c^3 d^6-21 a c^2 d^4 e^2-33 a^2 c d^2 e^4-35 a^3 e^6-6 c d e \left (21 c^2 d^4-6 a c d^2 e^2-7 a^2 e^4\right ) x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{960 c^3 d^3 e^4}-\frac {\left (c d^2-a e^2\right )^3 \left (21 c^3 d^6+21 a c^2 d^4 e^2+15 a^2 c d^2 e^4+7 a^3 e^6\right ) \tanh ^{-1}\left (\frac {c d^2+a e^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{1024 c^{9/2} d^{9/2} e^{11/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.35, antiderivative size = 449, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 6, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {863, 846, 793,
626, 635, 212} \begin {gather*} -\frac {\left (-35 a^3 e^6-6 c d e x \left (-7 a^2 e^4-6 a c d^2 e^2+21 c^2 d^4\right )-33 a^2 c d^2 e^4-21 a c^2 d^4 e^2+105 c^3 d^6\right ) \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{3/2}}{960 c^3 d^3 e^4}-\frac {\left (7 a^3 e^6+15 a^2 c d^2 e^4+21 a c^2 d^4 e^2+21 c^3 d^6\right ) \left (c d^2-a e^2\right )^3 \tanh ^{-1}\left (\frac {a e^2+c d^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\right )}{1024 c^{9/2} d^{9/2} e^{11/2}}+\frac {\left (-7 a^4 e^8-8 a^3 c d^2 e^6-6 a^2 c^2 d^4 e^4+21 c^4 d^8\right ) \left (a e^2+c d^2+2 c d e x\right ) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{512 c^4 d^4 e^5}+\frac {1}{20} x^2 \left (\frac {a}{c d}-\frac {3 d}{e^2}\right ) \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{3/2}+\frac {x^3 \left (x \left (a e^2+c d^2\right )+a d e+c d e x^2\right )^{3/2}}{6 e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 626
Rule 635
Rule 793
Rule 846
Rule 863
Rubi steps
\begin {align*} \int \frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{d+e x} \, dx &=\int x^3 (a e+c d x) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, dx\\ &=\frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{6 e}+\frac {\int x^2 \left (-3 a c d^2 e-\frac {3}{2} c d \left (3 c d^2-a e^2\right ) x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, dx}{6 c d e}\\ &=\frac {1}{20} \left (\frac {a}{c d}-\frac {3 d}{e^2}\right ) x^2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}+\frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{6 e}+\frac {\int x \left (3 a c d^2 e \left (3 c d^2-a e^2\right )+\frac {3}{4} c d \left (21 c^2 d^4-6 a c d^2 e^2-7 a^2 e^4\right ) x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, dx}{30 c^2 d^2 e^2}\\ &=\frac {1}{20} \left (\frac {a}{c d}-\frac {3 d}{e^2}\right ) x^2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}+\frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{6 e}-\frac {\left (105 c^3 d^6-21 a c^2 d^4 e^2-33 a^2 c d^2 e^4-35 a^3 e^6-6 c d e \left (21 c^2 d^4-6 a c d^2 e^2-7 a^2 e^4\right ) x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{960 c^3 d^3 e^4}+\frac {\left (21 c^4 d^8-6 a^2 c^2 d^4 e^4-8 a^3 c d^2 e^6-7 a^4 e^8\right ) \int \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, dx}{128 c^3 d^3 e^4}\\ &=\frac {\left (21 c^4 d^8-6 a^2 c^2 d^4 e^4-8 a^3 c d^2 e^6-7 a^4 e^8\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^4 d^4 e^5}+\frac {1}{20} \left (\frac {a}{c d}-\frac {3 d}{e^2}\right ) x^2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}+\frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{6 e}-\frac {\left (105 c^3 d^6-21 a c^2 d^4 e^2-33 a^2 c d^2 e^4-35 a^3 e^6-6 c d e \left (21 c^2 d^4-6 a c d^2 e^2-7 a^2 e^4\right ) x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{960 c^3 d^3 e^4}-\frac {\left (\left (c d^2-a e^2\right )^3 \left (21 c^3 d^6+21 a c^2 d^4 e^2+15 a^2 c d^2 e^4+7 a^3 e^6\right )\right ) \int \frac {1}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx}{1024 c^4 d^4 e^5}\\ &=\frac {\left (21 c^4 d^8-6 a^2 c^2 d^4 e^4-8 a^3 c d^2 e^6-7 a^4 e^8\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^4 d^4 e^5}+\frac {1}{20} \left (\frac {a}{c d}-\frac {3 d}{e^2}\right ) x^2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}+\frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{6 e}-\frac {\left (105 c^3 d^6-21 a c^2 d^4 e^2-33 a^2 c d^2 e^4-35 a^3 e^6-6 c d e \left (21 c^2 d^4-6 a c d^2 e^2-7 a^2 e^4\right ) x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{960 c^3 d^3 e^4}-\frac {\left (\left (c d^2-a e^2\right )^3 \left (21 c^3 d^6+21 a c^2 d^4 e^2+15 a^2 c d^2 e^4+7 a^3 e^6\right )\right ) \text {Subst}\left (\int \frac {1}{4 c d e-x^2} \, dx,x,\frac {c d^2+a e^2+2 c d e x}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{512 c^4 d^4 e^5}\\ &=\frac {\left (21 c^4 d^8-6 a^2 c^2 d^4 e^4-8 a^3 c d^2 e^6-7 a^4 e^8\right ) \left (c d^2+a e^2+2 c d e x\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{512 c^4 d^4 e^5}+\frac {1}{20} \left (\frac {a}{c d}-\frac {3 d}{e^2}\right ) x^2 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}+\frac {x^3 \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{6 e}-\frac {\left (105 c^3 d^6-21 a c^2 d^4 e^2-33 a^2 c d^2 e^4-35 a^3 e^6-6 c d e \left (21 c^2 d^4-6 a c d^2 e^2-7 a^2 e^4\right ) x\right ) \left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}}{960 c^3 d^3 e^4}-\frac {\left (c d^2-a e^2\right )^3 \left (21 c^3 d^6+21 a c^2 d^4 e^2+15 a^2 c d^2 e^4+7 a^3 e^6\right ) \tanh ^{-1}\left (\frac {c d^2+a e^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{1024 c^{9/2} d^{9/2} e^{11/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.33, size = 385, normalized size = 0.86 \begin {gather*} \frac {\sqrt {(a e+c d x) (d+e x)} \left (\sqrt {c} \sqrt {d} \sqrt {e} \left (-105 a^5 e^{10}+5 a^4 c d e^8 (11 d+14 e x)+2 a^3 c^2 d^2 e^6 \left (27 d^2-16 d e x-28 e^2 x^2\right )+6 a^2 c^3 d^3 e^4 \left (13 d^3-6 d^2 e x+4 d e^2 x^2+8 e^3 x^3\right )+a c^4 d^4 e^2 \left (-525 d^4+336 d^3 e x-264 d^2 e^2 x^2+224 d e^3 x^3+1664 e^4 x^4\right )+c^5 d^5 \left (315 d^5-210 d^4 e x+168 d^3 e^2 x^2-144 d^2 e^3 x^3+128 d e^4 x^4+1280 e^5 x^5\right )\right )-\frac {15 \left (c d^2-a e^2\right )^3 \left (21 c^3 d^6+21 a c^2 d^4 e^2+15 a^2 c d^2 e^4+7 a^3 e^6\right ) \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {d} \sqrt {d+e x}}{\sqrt {e} \sqrt {a e+c d x}}\right )}{\sqrt {a e+c d x} \sqrt {d+e x}}\right )}{7680 c^{9/2} d^{9/2} e^{11/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(1425\) vs.
\(2(415)=830\).
time = 0.09, size = 1426, normalized size = 3.18
method | result | size |
default | \(\text {Expression too large to display}\) | \(1426\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.36, size = 1013, normalized size = 2.26 \begin {gather*} \left [-\frac {{\left (15 \, {\left (21 \, c^{6} d^{12} - 42 \, a c^{5} d^{10} e^{2} + 15 \, a^{2} c^{4} d^{8} e^{4} + 4 \, a^{3} c^{3} d^{6} e^{6} + 3 \, a^{4} c^{2} d^{4} e^{8} + 6 \, a^{5} c d^{2} e^{10} - 7 \, a^{6} e^{12}\right )} \sqrt {c d} e^{\frac {1}{2}} \log \left (8 \, c^{2} d^{3} x e + c^{2} d^{4} + 8 \, a c d x e^{3} + a^{2} e^{4} + 4 \, \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e} {\left (2 \, c d x e + c d^{2} + a e^{2}\right )} \sqrt {c d} e^{\frac {1}{2}} + 2 \, {\left (4 \, c^{2} d^{2} x^{2} + 3 \, a c d^{2}\right )} e^{2}\right ) + 4 \, {\left (210 \, c^{6} d^{10} x e^{2} - 315 \, c^{6} d^{11} e - 70 \, a^{4} c^{2} d^{2} x e^{10} + 105 \, a^{5} c d e^{11} + {\left (56 \, a^{3} c^{3} d^{3} x^{2} - 55 \, a^{4} c^{2} d^{3}\right )} e^{9} - 16 \, {\left (3 \, a^{2} c^{4} d^{4} x^{3} - 2 \, a^{3} c^{3} d^{4} x\right )} e^{8} - 2 \, {\left (832 \, a c^{5} d^{5} x^{4} + 12 \, a^{2} c^{4} d^{5} x^{2} + 27 \, a^{3} c^{3} d^{5}\right )} e^{7} - 4 \, {\left (320 \, c^{6} d^{6} x^{5} + 56 \, a c^{5} d^{6} x^{3} - 9 \, a^{2} c^{4} d^{6} x\right )} e^{6} - 2 \, {\left (64 \, c^{6} d^{7} x^{4} - 132 \, a c^{5} d^{7} x^{2} + 39 \, a^{2} c^{4} d^{7}\right )} e^{5} + 48 \, {\left (3 \, c^{6} d^{8} x^{3} - 7 \, a c^{5} d^{8} x\right )} e^{4} - 21 \, {\left (8 \, c^{6} d^{9} x^{2} - 25 \, a c^{5} d^{9}\right )} e^{3}\right )} \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e}\right )} e^{\left (-6\right )}}{30720 \, c^{5} d^{5}}, \frac {{\left (15 \, {\left (21 \, c^{6} d^{12} - 42 \, a c^{5} d^{10} e^{2} + 15 \, a^{2} c^{4} d^{8} e^{4} + 4 \, a^{3} c^{3} d^{6} e^{6} + 3 \, a^{4} c^{2} d^{4} e^{8} + 6 \, a^{5} c d^{2} e^{10} - 7 \, a^{6} e^{12}\right )} \sqrt {-c d e} \arctan \left (\frac {\sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e} {\left (2 \, c d x e + c d^{2} + a e^{2}\right )} \sqrt {-c d e}}{2 \, {\left (c^{2} d^{3} x e + a c d x e^{3} + {\left (c^{2} d^{2} x^{2} + a c d^{2}\right )} e^{2}\right )}}\right ) - 2 \, {\left (210 \, c^{6} d^{10} x e^{2} - 315 \, c^{6} d^{11} e - 70 \, a^{4} c^{2} d^{2} x e^{10} + 105 \, a^{5} c d e^{11} + {\left (56 \, a^{3} c^{3} d^{3} x^{2} - 55 \, a^{4} c^{2} d^{3}\right )} e^{9} - 16 \, {\left (3 \, a^{2} c^{4} d^{4} x^{3} - 2 \, a^{3} c^{3} d^{4} x\right )} e^{8} - 2 \, {\left (832 \, a c^{5} d^{5} x^{4} + 12 \, a^{2} c^{4} d^{5} x^{2} + 27 \, a^{3} c^{3} d^{5}\right )} e^{7} - 4 \, {\left (320 \, c^{6} d^{6} x^{5} + 56 \, a c^{5} d^{6} x^{3} - 9 \, a^{2} c^{4} d^{6} x\right )} e^{6} - 2 \, {\left (64 \, c^{6} d^{7} x^{4} - 132 \, a c^{5} d^{7} x^{2} + 39 \, a^{2} c^{4} d^{7}\right )} e^{5} + 48 \, {\left (3 \, c^{6} d^{8} x^{3} - 7 \, a c^{5} d^{8} x\right )} e^{4} - 21 \, {\left (8 \, c^{6} d^{9} x^{2} - 25 \, a c^{5} d^{9}\right )} e^{3}\right )} \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e}\right )} e^{\left (-6\right )}}{15360 \, c^{5} d^{5}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 2.75, size = 486, normalized size = 1.08 \begin {gather*} \frac {1}{7680} \, \sqrt {c d x^{2} e + c d^{2} x + a x e^{2} + a d e} {\left (2 \, {\left (4 \, {\left (2 \, {\left (8 \, {\left (10 \, c d x + \frac {{\left (c^{6} d^{7} e^{4} + 13 \, a c^{5} d^{5} e^{6}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x - \frac {{\left (9 \, c^{6} d^{8} e^{3} - 14 \, a c^{5} d^{6} e^{5} - 3 \, a^{2} c^{4} d^{4} e^{7}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x + \frac {{\left (21 \, c^{6} d^{9} e^{2} - 33 \, a c^{5} d^{7} e^{4} + 3 \, a^{2} c^{4} d^{5} e^{6} - 7 \, a^{3} c^{3} d^{3} e^{8}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x - \frac {{\left (105 \, c^{6} d^{10} e - 168 \, a c^{5} d^{8} e^{3} + 18 \, a^{2} c^{4} d^{6} e^{5} + 16 \, a^{3} c^{3} d^{4} e^{7} - 35 \, a^{4} c^{2} d^{2} e^{9}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} x + \frac {{\left (315 \, c^{6} d^{11} - 525 \, a c^{5} d^{9} e^{2} + 78 \, a^{2} c^{4} d^{7} e^{4} + 54 \, a^{3} c^{3} d^{5} e^{6} + 55 \, a^{4} c^{2} d^{3} e^{8} - 105 \, a^{5} c d e^{10}\right )} e^{\left (-5\right )}}{c^{5} d^{5}}\right )} + \frac {{\left (21 \, c^{6} d^{12} - 42 \, a c^{5} d^{10} e^{2} + 15 \, a^{2} c^{4} d^{8} e^{4} + 4 \, a^{3} c^{3} d^{6} e^{6} + 3 \, a^{4} c^{2} d^{4} e^{8} + 6 \, a^{5} c d^{2} e^{10} - 7 \, a^{6} e^{12}\right )} e^{\left (-\frac {11}{2}\right )} \log \left ({\left | -c d^{2} - 2 \, {\left (\sqrt {c d} x e^{\frac {1}{2}} - \sqrt {c d x^{2} e + c d^{2} x + a x e^{2} + a d e}\right )} \sqrt {c d} e^{\frac {1}{2}} - a e^{2} \right |}\right )}{1024 \, \sqrt {c d} c^{4} d^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^3\,{\left (c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e\right )}^{3/2}}{d+e\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________